import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
        }))],
        totalElements: 'number',
    })
});


export const Detail = itf({
    payload: itf(
        {
            id: 'string',
            status: 'number? | null',
            length: 'number? | null',
            width: 'number? | null',
            height: 'number? | null',
            volume: 'number? | null',
            netWeight: 'number? | null',
            grossWeight: 'number? | null',
            rowVersion: 'string? | null',
        },
    )
});

export const Brand = itf({
    payload: itf({
        content: [
            itf({
                id: 'string',
                code: 'string',
                name: 'string',
            })
        ],
    })
});
